import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('Constant')
export class Constant {

    static readonly ColliderGroup = {
        DEAULT: 1 << 0,
        PLAYER: 1 << 1,
        ENEMY: 1 << 2,
        PLAYER_WEAPON: 1 << 3,
        ENEMY_WEAPON: 1 << 4,
        OBSTACLE: 1 << 5,
    }

    static readonly PrefabUrl = {
        DAMAGE_TEXT: 'DamageText',
        ENEMY: 'Enemy',
        ARROW: 'Arrow',
        SURROUNDSWORD: 'SurroundSword',
        FIRE_BALL: 'FireBall',
        LIGHTNING: 'Lightning',
        BULLET: 'Bullet',
    }

    static readonly WeaponTag = {
        ARROW: 0,
        SWORD: 1,
        FIREBAll: 2,
        LIGHTNING: 4,
        BULLET: 5,
    }
}


